<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>忘记密码</title>
    
    <link rel="stylesheet" type="text/css" href="js/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="js/themes/icon.css">
    <script type="text/javascript" src="js/jquery.min.js"></script>
	<script type="text/javascript" src="js/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="js/locale/easyui-lang-zh_CN.js"></script>
   	
	<script type="text/javascript">
		$(function(){
			$('#btn').click(function(){
				$('#myform').form('submit',{
					url:'json/user_pwreset.action',
					onSubmit:function(){
						if(!$('#myform').form('validate')){
							return false;
						}
					},
					success:function(){
						alert("重置成功,密码为11111");
						document.location="login.jsp";
					}
				});
			});
		});
	</script>	
  </head>
  
  
  <body>
	  <center>
		<form id="myform" action="" method="post">
			账号<input type="text" name="key"><br>
			<a id="btn" class="easyui-linkbutton">确定</a>
		</form>
	  </center>
  </body>
</html>
